import { mock } from 'mockjs'

export default [
    {
        url: "/banji/queryAll",
        type: 'post',
        response() {
            return {
                code: 200,
                msg: "success",
                data: mock({
                    "data|20": [
                        {
                            date: '@date',
                            name: '@cname',
                            age: '@integer(10,15)',
                            'banji|1': ['二年一班', '二年二班', '二年三班']
                        }
                    ]
                }).data
            }
        }
    }
]